package com.google.code.alpaca.prototype.rpc;

import java.util.ArrayList;
import java.util.List;

import net.customware.gwt.dispatch.shared.AbstractSimpleResult;

public abstract class AbstractSimpleListResult<E> extends
		AbstractSimpleResult<List<E>> {

	private List<E> list;

	protected AbstractSimpleListResult() {
	}

	public AbstractSimpleListResult(List<E> aList) {
		list = new ArrayList<E>();
		list.addAll(aList);
	}

	public List<E> getResult() {
		return list;
	}
}
